package kr.hkit.powerjava.chapter07;

public class Movie {
	private String title;
	private String director;
	private int grade;
	private int year;
	public Movie(String title, String director, int grade, int year) {
		super();
		this.title = title;
		this.director = director;
		this.grade = grade;
		this.year = year;
	}
	@Override
	public String toString() {
		return "제목: " + title + ", 주연: " + director + ", 평점: "
				+ grade + "점, 개봉년도: " + year + "년";
	}
}
